home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / virus / psdriv.arj / PSDRIVER.DOC < prev    next >
Text File  |  1993-09-13  |  7KB  |  208 lines

  1. PSDRIVER - 0.1 (Sep 09 1993)
  2. ============================
  3.  
  4.  
  5. Abstract
  6. --------
  7.  
  8. PSDRIVER.SYS is a DOS-Device-Driver that implements a printing
  9. device for printing ASCII documents on a postscript printer.
  10. This first release supports a subset of line drawing characters
  11. and many language-specific characters of code page 437. It was
  12. tested under MS-DOS 6.0, Banyan Vines 4.11 network and a Postscript
  13. compatible Mannesmann Tally MT906PS printer.
  14.  
  15. This release is free, try it and report your experience to me.
  16. For further enhancements, the author welcomes any comments. You
  17. may contact me on Compuserve:
  18.  
  19.       Johannes Geenen; Compuserve-ID: 100137,3124
  20.  
  21.  
  22. Summary
  23. -------
  24.  
  25. This is the very first release of a DOS device driver to allow
  26. direct output of ASCII files to a postscript printer. This driver
  27. includes some extensions of the IBM character set, including
  28. Umlaute (like ä, ö or ß) and a set of line drawing characters.
  29.  
  30. PSDRIVER has to be installed as a device driver in your
  31. CONFIG.SYS file (may be loaded high) and occupies about 8K of
  32. memory. On default, the driver replaces LPT3 and redirects it to
  33. the first (BIOS-)printer port. Different output devices may be
  34. specified on command line.
  35.  
  36.  
  37. Installation
  38. ------------
  39.                                                              
  40. Copy the driver onto your hard disk and add to your CONFIG.SYS file 
  41. the following statement (change the path, if you copied the
  42. driver to a different location than the root directory):
  43.  
  44.      DEVICE=C:\PSDRIVER.SYS         
  45.  
  46. and reboot your computer. On startup PSDRIVER will display the
  47. used memory segment, the device name used as primary (input)
  48. device and the printer port used for output to the postscript
  49. printer:
  50.  
  51.      ASCII to POSTSCRIPT Translator 0.1
  52.      Installed at segment.: 03CA    
  53.      Using device name....: LPT3
  54.      Printing to port.....: 1
  55.      
  56. The segment address depends on your additional configuration and
  57. DOS version. Device name and printer port may be changed by
  58. command line arguments. The complete command line syntax of
  59. PSDRIVER is:
  60.         
  61.      DEVICE[HIGH]=<Your Drive And Path>\PSDRIVER.SYS <Input> <Output>
  62.      
  63. where:
  64.            Your Drive And Path: Location of PSDRIVER.SYS on your
  65.                                 hard disk
  66.            Input              : Name of the device you want to
  67.                                 print your ASCII files to (LPTn,
  68.                                 PSDRV, etc.), Default: LPT3
  69.            Output             : Number of the printer port, the
  70.                                 postscript printer is attached to
  71.                                 (1, 2 or 3), Default: 1
  72.  
  73.  
  74. This package contains two drivers: PSDRIVER.SYS and PSDRVLET.SYS.
  75. The only difference between this drivers is, that PSDRIVER.SYS
  76. assumes A4 paper size, while PSDRVLET.SYS assumes Letter paper size.
  77. The PSDRVLET.SYS has not been tested.
  78.  
  79.  
  80. Usage                                
  81. -----
  82.  
  83. To test the driver, just copy a plain text file to the device,
  84. that PSDRIVER has installed (or replaced):
  85.  
  86.      COPY CONFIG.SYS LPT3
  87.      
  88. The text will be printed onto your postscript printer (if
  89. attached to the output printer port and online, of course!);
  90. unprintable characters will be replaced by an asterisk ('*'),
  91. Backspace, Tab, Line- and Formfeeds and Carriage Return control
  92. characters will be recognized and interpreted. A formfeed (print
  93. the last page) is appended automatically.
  94.  
  95. Of course, you may use the original printer port, since
  96. PSDRIVER does not modify it's behavior. Just have
  97. in mind: Print a plain text file to the input device of PSDRIVER,
  98. the driver will do the rest (hopefully).
  99.  
  100.  
  101. Features
  102. --------
  103.  
  104. This version of PSDRIVER is the very, very first release and
  105. supports only a small set of features:
  106.  
  107. * Prints ASCII files to your postscript printer without any menu
  108.   changes (PSDRIVER converts the text file to a Postscript file).
  109.   
  110. * Allows printing of national character sets and some IBM graphics 
  111.   extensions.
  112.   
  113. * Allows use on LAN work stations with a postscript network
  114.   printer (tested on our Banyan Vines 4.11 LAN).
  115.   
  116.  
  117. Future enhancements
  118. -------------------
  119.   
  120. * Improving the command line interface
  121.  
  122. * Adding a user interface: change fonts, page orientation and
  123.   margins using an interface program.
  124.   
  125. * Support of virtually any character of the IBM-set
  126.   
  127. * Adding a IBM- and/or Epson printer emulation (at least under-
  128.   lining, bold and italic faces)
  129.   
  130. * Reducing the resident memory size
  131.  
  132.  
  133. Technical Information
  134. ---------------------
  135.  
  136. PSDRIVER is a small device driver, which uses the DOS-built-in
  137. character device driver interface for processing files. On an
  138. open request the postscript header is downloaded to the printer,
  139. then the file itself is downloaded (performing the neccessary
  140. character translations) and on closing request a final form feed
  141. is performed.
  142.  
  143. Most of the resident driver size is occupied by the postscript
  144. header which is compressed using a very simple Huffman like 
  145. compression method. This reduces the header size from about
  146. 10K uncompressed to compressed 7K (this may be improved, I
  147. know!). The header includes already all stuff for font selection,
  148. font sizes, orientation, bolding or underlining and will
  149. hopefully not grow very much during enhancement of functionality.
  150.  
  151.  
  152. History
  153. -------
  154.  
  155. I developed the PSDRIVER program, because I often need to print
  156. program files out of my DOS based text editor. The first approach
  157. was a small programm, that switched the emulation of the printer
  158. between Postscript and Laserjet. But then two things happened:
  159. A new postscript printer was installed (with a different
  160. emulation switching code) and I was attached to a network printer
  161. (Ever changed the emulation from Postscript to Laserjet on a 
  162. network printer? Just wait 'til the network administrator - or
  163. angry users - come around...)    
  164.  
  165.  
  166. The End
  167. -------
  168.  
  169. So I decided to write this driver. Based on my small assembler
  170. knowledge, Michael J. Young's book "Performance Programming Under
  171. MS-DOS", Sybex 1987, and other stuff, this release of the device
  172. driver was coded in three days or so.
  173.  
  174. Some enhancements I mentioned above, wait inside my little gray
  175. brain cells to be coded, others are a bit more difficult to me:
  176.  
  177. * How could I access disk files during installation (for
  178.   configuration files)?
  179.   
  180. * How should I design the user interface (I want to use IOCTL
  181.   functions, but how should I determin the device name (or 
  182.   handle), when not using the default ones?)
  183.  
  184.      
  185.  
  186. Warranty
  187. ========
  188.  
  189. You may use this program on any DOS-PC. I've tested it under DOS 6.0, but
  190. it may work under DOS 3.X, too. Of course, the author can give no warranty
  191. at all, including failures on hardware, software or damaging of data.
  192. (There is no code in PSDRIVER, which may cause such defects, but who knows?).
  193.  
  194.  
  195.  
  196. The Author
  197. ==========
  198.  
  199.       Mail:   Johannes Geenen
  200.               Schwannstrasse 21
  201.               D-41460 Neuss
  202.               Germany
  203.  
  204.       E-Mail: Compuserve   100137,3124
  205.  
  206.  
  207.  
  208.